package com.example.demo.entity.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 学生作业提交表(HomeworkSubmission)实体类
 *
 * @author makejava
 * @since 2025-07-13 17:30:30
 */
public class HomeworkSubmission implements Serializable {
    private static final long serialVersionUID = -59070622164418123L;

    /**
     * 提交ID
     */
    private Integer id;

    /**
     * 作业ID
     */
    private Integer homeworkId;

    /**
     * 学生ID
     */
    private String studentId;

    /**
     * 提交时间
     */
    private Date submitTime;

    /**
     * 总得分
     */
    private BigDecimal totalScore;

    /**
     * 状态：submitted=已提交, graded=已批改, returned=已返回
     */
    private String status;

    /**
     * 教师评语
     */
    private String teacherComment;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(Integer homeworkId) {
        this.homeworkId = homeworkId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public BigDecimal getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(BigDecimal totalScore) {
        this.totalScore = totalScore;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTeacherComment() {
        return teacherComment;
    }

    public void setTeacherComment(String teacherComment) {
        this.teacherComment = teacherComment;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
